package com.gzxx.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/**
 * SysUserDept
 *
 * @author chenjing
 */
@Getter
@ToString(callSuper = true)
@TableName("sys_user_dept")
public class SysUserDept implements Serializable {

    private static final long serialVersionUID = -5706482428688410073L;

    private Long userId;
    private Integer firstDeptId;
    private Integer secondDeptId;

    @Builder
    private SysUserDept(Long userId, Integer firstDeptId, Integer secondDeptId) {
        this.userId = userId;
        this.firstDeptId = firstDeptId;
        this.secondDeptId = secondDeptId;
    }
}
